package fr.afcepf.atod18.restaurants.entity;

import java.util.Calendar;

import javax.persistence.Entity;

//Annotations
@Entity
public class Boisson extends Produit {

	private int volume;

	public Boisson() {
		super();
	}
	public Boisson(String nom, String description, double prix,
			boolean isDisponible, Calendar dateFinValidite, int quantite, int volume) {
		super(nom, description, prix, isDisponible, dateFinValidite, quantite);
		this.volume = volume;
	}

	public int getVolume() {
		return volume;
	}
	public void setVolume(int volume) {
		this.volume = volume;
	}

}
